package com.lq.educationsystem.common.vo;

import java.util.Objects;

public class TeacherSubjectPageVo {

    /**
     * 教师课程id
     */
    private Integer teacherSubjectId;

    /**
     * 班级id
     */
    private Integer teacherId;

    /**
     * 课程id
     */
    private Integer subjectId;

    /**
     * 页面大小
     */
    private Integer pageSize;

    /**
     * 当前页数
     */
    private Integer page;
    private static final long serialVersionUID = 1L;

    public TeacherSubjectPageVo() {
    }

    @Override
    public String toString() {
        return "TeacherSubjectPageVo{" +
                "teacherSubjectId=" + teacherSubjectId +
                ", teacherId=" + teacherId +
                ", subjectId=" + subjectId +
                ", pageSize=" + pageSize +
                ", page=" + page +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        TeacherSubjectPageVo that = (TeacherSubjectPageVo) o;
        return Objects.equals(teacherSubjectId, that.teacherSubjectId) && Objects.equals(teacherId, that.teacherId) && Objects.equals(subjectId, that.subjectId) && Objects.equals(pageSize, that.pageSize) && Objects.equals(page, that.page);
    }

    @Override
    public int hashCode() {
        return Objects.hash(teacherSubjectId, teacherId, subjectId, pageSize, page);
    }

    public Integer getTeacherSubjectId() {
        return teacherSubjectId;
    }

    public void setTeacherSubjectId(Integer teacherSubjectId) {
        this.teacherSubjectId = teacherSubjectId;
    }

    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public Integer getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(Integer subjectId) {
        this.subjectId = subjectId;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }
}
